package ai

import (
	"github.com/gin-gonic/gin"
)

type ChatMessage struct {
	Role    string `json:"role"`
	Content string `json:"content"`
}

type IChatAi interface {
	Chat(*gin.Context, []*ChatMessage) (string, error) //跟ai聊天，输入对话内容，返回聊天内容和错误信息
}
